package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Emp;
import com.itheima.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * 员工管理
 */
public interface EmpService extends IService<Emp> {
    PageBean page(Integer page,Integer pageSize,
                  String name , Short gender ,
                  LocalDate begin,
                  LocalDate end);

    void delete(List<Long> ids);

    boolean save(Emp emp);

    Emp getById(Long id);

    void update(Emp emp);

    Emp login(Emp emp);
}
